export const sleep = (sec: number): Promise<void> => {
    return new Promise(resolve => {
        setTimeout(() => resolve(), sec)
    })
}